home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: delta / whiteline CD Series - delta.iso / tools / harddisk / hdscan16 / hdscan.doc next >
Text File  |  1995-11-25  |  34KB  |  634 lines

  1. Hi,
  2.  
  3. Well I am STILL running behind in the documentation. This document covers
  4. HDSCAN 1.4/2.4, plus has notes on the changes made in the 1.5/2.5 and the
  5. 1.6/2.6 versions. Overall, if you are using version 2.3 or earlier, then
  6. you will need to read this document carefully. A lot has changed.
  7.  
  8. Please excuse any missed features in this documentation...I went ahead and wrote
  9. DISKSCAN in between finishing up HDSCAN and doing these docs, so things may
  10. have slipped by...have fun.
  11.  
  12.   -Todd Burkey
  13.   trb@stag.UUCP
  14.   BBS: 612-560-9254
  15.  
  16. -------C--U--T-----H-E-R-E---------------------------------------
  17.  
  18.                        HDSCAN Versions 1.x/2.x
  19.                       (The ST Hard Disk Utility)
  20.                             (c) 1987/1988
  21.                             by Todd Burkey
  22.  
  23.  
  24. Note: This documentation must be included with HDSCAN Version 1.x if you
  25.       wish to transmit the program to anyone by email, bbs, or any other means.
  26.       
  27.       Any modification of the binaries or this document is expressly forbidden.
  28.       HDSCAN 1.4 is Shareware and copyrighted 1987 by Todd Burkey.
  29.  
  30. DISCLAIMER: I spend all my money on computers that outdate themselves within a
  31.             year, so I really don't need a disclaimer...although with all the
  32.             strange things TOS and GEM occasionally do, I should say, "LET THE
  33.             USER BEWARE". There. Safe.
  34.  
  35. 1.0 INTRO:
  36.  
  37. HDSCAN was designed initially to satisfy a simple backup need. HDSCAN is first
  38. and foremost a utility that lets you tag files throughout your hard disk and
  39. then copy (or erase) them in one pass. Because I got carried away, HDSCAN also
  40. lets you hexdump any file on the hard disk, view any file (even binary files
  41. if you like), rename a file, perform daily backups to floppies, select for
  42. display files matching a specific string (i.e. to just see all file names that
  43. have .doc in them), select just files in one directory, select all the files on
  44. all directories of a hard disk to scroll through, and more that will make
  45. sense when you try out the program.
  46.  
  47. Other features support archiving files, compressing/uncompressing files,
  48. invoking external programs, and most importantly, sorting files.  You can sort
  49. by date, name, and size in ascending or descending order. For example, you can
  50. select all .c files (all directories), sort them by reverse date, then easily
  51. tag all the new files for copying to floppies. Or maybe sort an entire drive
  52. by name to help find duplicate files (this will make more sense if your drives
  53. get as messy as mine do). The sort in HDSCAN is a recursive quicksort, so even
  54. thousands of files will be sorted in a few seconds. I have even added a very
  55. simple (but fast) file compare routine to allow quick checks to see if files
  56. are duplicates. And you will find even more features embedded in the program
  57. as you start using it.
  58.  
  59.  
  60. 1.1 BRIEF HISTORY:
  61.  
  62. This program has had a strange history. After working my way up from 8 bit
  63. PC's (OSI, Atari 400/800, and CP/M), through the various fads (Mac, IBM PC,
  64. and an Amiga), to my current 'addiction' of an ATARI ST and a Symmetrics 375
  65. (BSD 4.2 Box), I was faced with an interesting dilemma. As my disk space got
  66. larger, it took more and more time to 1) perform selective backups of files, 
  67. 2) quickly find files, 3) determine what files were duplicates, and 4) in
  68. general, just keep track of, and manipulate, all the files on my systems.
  69.  
  70. 1.1.1 Ancient, boring stuff
  71.  
  72. Even on CP/M, a program called SWEEP was a boon back in the days when we
  73. thought a 1 meg 8" diskette was a LOT of space. Basically, SWEEP would scan
  74. your current directory and, at the touch of a key, you could view, hexdump,
  75. and tag files for subsequent copy and/or deletion. Later I got hooked on XTREE
  76. on my PC. Although it was quite slow scanning the disk, XTREE was able to
  77. perform SWEEP-like operations across an entire partition (multiple
  78. directories).  The potential of a program like XTREE intrigued me so much
  79. that about a year after I got my ST, I gave up waiting for someone else to
  80. write one and decided to brave GEMDOS and write my own. What I ended up with
  81. was a hard disk tool that had features of SWEEP, XTREE, and a bunch of new
  82. capabilities that I had always wanted (one of which was the ability to scan
  83. 30 megs in 2 seconds...speed is always nice.)
  84.  
  85. 1.1.2 Even Unix
  86.  
  87. HDSCAN turned out to be so useful on the ST that one day (after spending
  88. hours 'browsing' through my somewhat cluttered directories on my Unix box)
  89. I decided to port it to Unix. What is included in this release is code I have
  90. folded back from the port. Although the code ported quite easily, there were a
  91. lot of changes necessary to support the Unix file structure, program invokes,
  92. and basic lack of graphics. Some of the user-friendliness of the program was
  93. lost during the port (personal opinion)...possibly due to the loss of speed
  94. (during scans, scrolling through files, and redraws of screens) and the key
  95. remapping I was forced into. But this version is just as friendly or unfriendly
  96. as you felt the original hdscan to be.
  97.  
  98.  
  99. 2.0.0 USING HDSCAN:
  100.  
  101. 2.1.0 First things first: HDSCAN.KEY
  102.  
  103. Before you run HDSCAN for the first time, you should probably create a
  104. file called HDSCAN.KEY and place it in C:\HDSCAN.KEY. HDSCAN will search
  105. for HDSCAN.KEY in your current directory when you first invoke HDSCAN, and
  106. if it can't find it there, it will automatically check C:\HDSCAN.KEY. If it
  107. doesn't find the file, HDSCAN will come up with the defaults of its own.
  108.  
  109. HDSCAN.KEY is a control file that defines system and user specific things.
  110. This includes 'things' like telling HDSCAN where your favorite editor is
  111. located, where to find you copy of you arc program, or even what commands
  112. to 'attach' to the auto-invoke keys (Function Keys 1-10) for macros. While
  113. HDSCAN will work fine without HDSCAN.KEY, proper setup of this file will
  114. be well worth the time it takes to learn its somewhat cryptic structure.
  115.  
  116. 2.1.1 HDSCAN.KEY Syntax
  117.  
  118. The format of HDSCAN.KEY is actually very simple.  Each line in the HDSCAN.KEY
  119. file acts as either a key definition (keys F1-F10), a parameter assignment, or
  120. a comment. If a line does not have an equal sign ('=') or colon (':') in the
  121. second character position, it is taken as a comment line.
  122.  
  123. 2.1.1.1 HDSCAN.KEY Key Bindings
  124.  
  125. If the line begins with one number followed by an '=' sign, then the text that
  126. follows the equal sign will be taken as a command (or commands) to be executed
  127. when you press the appropriate number key. These commands can consist of
  128. pretty much anything you would normally type from a shell. A nice feature is
  129. that the commands can be parameterized by embedding @F, @P, @f, @p, ?, and < 
  130. in the command line. This will make more sense once you start using the HDSCAN,
  131. but @F will expand into the full pathname of the file you are 'ON' when you
  132. select the command, @P will be the full file name without the extender (i.e.
  133. if C:\trb\test.c is the FULL pathname, then @P will expand to C:\trb\test).
  134. Likewise, @f will give you the full file name (test.c) and @p will give just
  135. the prefix of the name (test). Finally, if the first character of the command
  136. line is a ? the user will be prompted before the command is invoked, and if
  137. it is a < then the user will be prompted to type in the full command.
  138.  
  139. 2.1.1.2 HDSCAN.KEY Parameters
  140.  
  141. If the line begins with a letter, dash ('-'), or plus ('+') followed by a ':',
  142. then the information following the ':' will be passed (kind of like parameters)
  143. into HDSCAN at startup.  I know, I could have used environment variables, but
  144. this was easier and simpler for people to set up. For now, the 'parameters'
  145. that are recognized by HDSCAN are:
  146.  
  147.   'A'     (arc path)
  148.   'B'     (backup device)        <--Currently not implemented in 1.4/2.4
  149.   'D'     (diff path)            <--Currently not implemented in 1.4/2.4
  150.   'E'     (editor path)
  151.   'U'/'M' (unmount/mount info)   <--Currently not implemented in 1.4/2.4
  152.   'u'/'c' (uncompress/compress)  <--Currently not implemented in 1.4/2.4
  153.   '+'     Added the following floppy drive to scan list (only one + is used)
  154.   '-'     ignore these hard disk partitions.
  155.  
  156. 2.1.2 HDSCAN.KEY Example
  157.  
  158. For example, let's say your favorite editor is in C:\bin\emacs.tos, you
  159. have arc in your local directory, you always want drive A scanned,
  160. and you want to be able to perform a variety of commands on files at the
  161. press of the key. The following HDSCAN.KEY file would accomplish this.
  162.  
  163. -------sample HDSCAN.KEY file--------
  164. +:A
  165. -:G
  166. -:P
  167. E:C:\bin\emacs.tos
  168. A:arc.ttp
  169. /* Key 1 & F1 definition: do a word count of the current file */
  170. 1=wc @F
  171. /* compile the current file after prompting the user to do so */
  172. 2=?cc -O @F -o @P
  173. /* do a less of the current file */
  174. 3=less @F
  175. /* drop into a shell...somewhat unnecessary on BSD systems */
  176. 5=C:\bin\sh.prg
  177. /* copy the current file into my catchall directory */
  178. 6=C:\bin\cp.prg @F G:\packrat
  179. /* key 0 & F10 definition: dynamically prompt user for the command to issue */
  180. 0=<
  181. -----end of sample HDSCAN.KEY file--------
  182.  
  183.  
  184. 2.2.0 INVOKING THE PROGRAM:
  185.  
  186. Very simple. Just click on the hdscan.prg icon. Or you can run it from a
  187. shell with command line options by typing:
  188.  
  189.   hdscan -i C -i D A    <--assuming you wanted to scan all hard drive partions
  190.                except C and D and also wanted to scan drive A.
  191.  
  192.  
  193. The screen will be somewhat confusing to the beginner, so I will explain
  194. here what you are looking at.
  195.  
  196. 2.2.2 The Main Display:
  197.  
  198. Right after invoking HDSCAN, you will hear the floppy go active (if you had
  199. asked for the floppy to be scanned as well, and then you will see the hard
  200. disk light go on for a few seconds. This is just HDSCAN going out and gathering
  201. up all the file information it needs. HDSCAN performs only READS of the disk
  202. during this process, so don't worry about anything getting screwed up (I'm
  203. paranoid too...) Note that if HDSCAN takes more than a few seconds to scan
  204. 20-30 megabytes, then your disk is probably getting pretty fractured and it
  205. would be a good time to clean up the partitions...
  206.  
  207. Most noticeable on the screen will be a tall box near the right of the screen
  208. filled with file names. That is the 'selected file' window and you can scroll
  209. up and down through all selected files with the h, j, k, and l keys (more on
  210. this later) to quickly get to a file. The file you are currently 'ON'
  211. will be highlighted (both reverse fielded and with a > sign next to it).
  212.  
  213. As you scroll through the file names, notice that the directory the file is
  214. in, it's size, and it's dates (modify/access/change), are automatically
  215. updated in windows near the top left of the screen.
  216.  
  217. Next to the file size window is a window that will make more sense later. It
  218. displays the total size of all Tagged files. This proves useful when you are
  219. moving around the hard disk, deciding which files will fit on which floppies.
  220.  
  221. Below these two windows is a long window used for prompts. Look in this
  222. window if you aren't sure why something isn't happening...it might be asking
  223. you a question.
  224.  
  225. Below the prompt window is a big free space which I am sure will eventually get
  226. filled up. Right now it is mostly a billboard.
  227.  
  228. Below that is a status line that basically tells you 1) what you have selected
  229. (i.e. ALL will appear if all partitions are chosen, DIR will appear if you have
  230. selected a single directory to work in, and a string of 1-8 characters will
  231. appear if the selection was made using a wildcard string search), 2) the sort
  232. order (initially RANDOM to give you an idea of how fractured your file space
  233. is), 3) the number of selected files, and 4) the total size in bytes of all
  234. selected files.
  235.  
  236.  
  237. 3.0 File Selection Mode: Commands
  238.  
  239. You can skip this section and just use it for reference if you are familiar
  240. with the 1.3/2.3 version of HDSCAN. Everyone else would be wise to at least do
  241. a quick scan of the commands.
  242.  
  243. 3.1 Moving About:
  244.  
  245. One important thing to learn before we get into the various commands is
  246. that to scroll through the files in the file window, you can use the h,
  247. j, k, and l keys. The j/k keys will scroll down/up in the file window
  248. respectively. Likewise, the h/l keys will page up/down in the list. If
  249. you want to go all the way up or down in the list of files displayed in
  250. the window, then use the H and L keys. If you have really slow terminals
  251. and still want to use HDSCAN for some reason, use the J/K keys instead of
  252. the j/k keys. This will cause scrolling without updating the current file
  253. info on the screen.
  254.  
  255. For those of you who prefer the use of the arrow keys, then make the following
  256. substitutions to the above:
  257.  
  258.        Up Arrow---->k key-->scroll up
  259.        Down Arrow-->j key-->scroll down
  260.        Left Arrow-->h key-->page up
  261.        Right Arrow->l key-->page down
  262.  Shift Up Arrow---->K key-->scroll up (faster)
  263.  Shift Down Arrow-->J key-->scroll down (faster)
  264.        Clr/Home---->H key-->Goto first file in selected list
  265.  Shift Clr/Home---->L key-->Goto last file in selected list
  266.  
  267. Why did I do this? I just like keeping my fingers in the normal key range
  268. and hate searching around for the arrow keys.
  269.  
  270. 3.2 TAGGING STuff:
  271.  
  272. Tagged files are a fundamental feature of hdscan and its usage. To tag a file,
  273. simply scroll to the file you want and press the 't' key. You will see a '*'
  274. appear in a little scrolling region next to the file name and the file window
  275. will scroll to the next file (so you can keep pressing 't' to select a bunch
  276. of files.) As each file is Tagged, you will see the total Tagged size increase
  277. in the TOTAL TAGGED window. To untag a file, just use the 'u' key. To untag
  278. all files, type 'ALT-U'. Note that directories will also appear in the file
  279. selection window (they have a 'D' next to them). I don't allow tagging of
  280. directories so you can't delete them, but they are useful for reference to
  281. see what all is in a directory (and when you are checking out protections,
  282. modify dates, etc).
  283.  
  284. 3.3 SEARCHING AND SELECTING STuff:
  285.  
  286. 3.3.1 Searching for files
  287.  
  288. Most of the time, you will probably just want to search out a few files for
  289. tagging and won't want to scroll over all 5000 or so files on the hard disk. To
  290. save some time, if you press the 's' key, you will be prompted for a <13
  291. character string to search for (you can enter stuff like .doc, .c, junk, etc
  292. but no * or ? wildcards are supported...to be truthful, I never even had any
  293. requests for wildcards.) The 's' key option will make its selection from all
  294. available files. If you just want to perform a selection from the currently
  295. selected subset of files, the 'S' key should be used instead. This will
  296. allow you to easily narrow in on a set of file names. Both options will
  297. allow you to enter just an asterisk (*) if you want to just see Tagged files,
  298. and entering only a carriage return will reselect everything.
  299.  
  300. 3.3.2 Selecting/Searching for a directory
  301.  
  302. There are also times when you might only want to select the files in one
  303. directory. To do so, pressing the TAB key will turn the PATH: window into a
  304. little scrolling region, allowing you to use the j & k keys to quickly scroll
  305. to the appropriate directory. If you have a lot of directories to scroll past,
  306. you can just type '/' or '\' followed by a few characters that are in the
  307. directory name to search forwards or backwards respectively in the directory
  308. tree. When you have the directory you want in the PATH: window, you can either
  309. press the TAB key again (to select all the files in the currently selected
  310. directory) or the 'A' key (to select files in all directories below and
  311. including the currently selected directory.) If there are no files in the
  312. directory you are trying to select, then HDSCAN will inform you so and let
  313. you select another directory.
  314.  
  315. There is also another method that allows directory selection. If you press
  316. the N or P keys, the directory in the tree that is Next/Previous to the
  317. one in the PATH: window will be selected. If you have a fast terminal, this
  318. is a useful way of swinging through directories. Note that in both selection
  319. methods, my definition of the next directory in a tree is based on the next
  320. alphabetically sorted path for that directory. This will be more apparent
  321. once you use the program.
  322.  
  323. 3.3.3 Regenerating the file list
  324.  
  325. Every once in awhile, you may want to regenerate the list of files (i.e. you
  326. have been doing some heavy deletes and don't care to see the 'X'ed out deleted
  327. files on the file list any more). To do so, just press the ! key. Note that
  328. this command is useful if you have been performing commands that have modified
  329. your directory structure via 'outside' programs as well (more on that later).
  330. Also, note that this command automatically reselects everything.
  331.  
  332. 3.4 DANGEROUS STuff (Copy/Erase all Tagged files...and more):
  333.  
  334. Once you have everything that you need Tagged, pressing the 'm' or 'M' keys
  335. will invoke the mass file copy routine. Selecting 'M' will copy files while
  336. preserving the original file dates and attributes, whereas the 'm' key will
  337. create a file with the current date. This option will prompt you for the
  338. destination path and allow you to copy all Tagged files (with or without an
  339. interactive query on each file). Once copied, the '*' next to a file name will
  340. become a '#' to show that the copy was successful. If you later want to re-tag
  341. the '#' files, possibly for mass erase ('E' key), you can do so by pressing
  342. the 'ALT-T' keys.
  343.  
  344. Note: to erase just one file, place the scroll bar over the file and press
  345. the D key.
  346.  
  347. 3.5 VISUAL STuff (Viewing and Dumping files):
  348.  
  349. One nice feature of HDSCAN is that by pressing the 'v' key, you can view the
  350. file that you are currently 'ON' in the file window. The view option does
  351. a character by character analysis of the file, just displaying the ASCII
  352. printable characters on the screen, so it can be used for looking for strings
  353. in a binary file. Note that because I chose to allow looking at binary files,
  354. I also turned off highlighting, tabbing, and formfeeds that sometimes appear
  355. in files. If you want to get a HEX dump, press the 'V' key and you will get
  356. a page by page listing of your file in both HEX and ASCII. You can edit
  357. the file you are currently pointing at in the scroll window by pressing the
  358. '*' key (shift 8). 'vi', or whatever you designated as your favorite editor
  359. in the HDSCAN.KEY file, will be loaded, read in the file, allow you to edit
  360. and save the file, and then return you to HDSCAN when you are done.
  361.  
  362. 3.6 ARC STuff:
  363.  
  364. To get a verbose listing of the contents of an ARC file, move to the file you
  365. want to look at and then press the = key. While the verbose listing is being
  366. displayed, you can press the CTRL-S key to pause the listing and the CTRL-Q
  367. key to continue the listing.
  368.  
  369. To add all Tagged files to an ARC file, just move the scroll bar over the ARC
  370. file you want to add the Tagged stuff to and hit the + key. You will be asked
  371. for a path name (in case you want to add to an ARC file that doesn't exist)
  372. and you can either hit return (to select the file you were scrolling over, or
  373. type in the full pathname of the file you want to create or add to (i.e.
  374. C:\trb\pict1.arc is a full pathname). The Tagged files will then be ARC'ed
  375. together. Please note that the current implementation of 'add to ARC' is
  376. horribly inefficient...but it works.
  377.  
  378. 3.7 SOMEWHAT NEAT STuff:
  379.  
  380. 3.7.1 Sorting files  (Only in the Professional version)
  381.  
  382. HDSCAN allows you to sort all selected files (don't confuse Tagged with
  383. selected...selected files are simply everything you can currently scroll past
  384. in the file name window, whereas Tagged files are those you have Tagged with
  385. the T key for some future purpose.) By pressing the 'o' key, you will tell
  386. HDSCAN that you wish to sort the selected files. HDSCAN will prompt you for
  387. the sort key (i.e. file size, name, date, protections, etc) and then ask
  388. whether you want to see them in ascending or descending order). Since you can
  389. sort files over a whole file system, a sort by descending date is a useful way
  390. to tag what has changed since your last backup. A sort by ascending name is
  391. useful to find all those duplicate files. One note on sorting: I always fall
  392. back to RANDOM order upon a new selection by either search (S) or directory
  393. select (TAB). This provides the fastest response assuming you aren't always
  394. wanting to see the stuff sorted. If you really want files to be maintained in
  395. a particular order for viewing purposes, use the 'O' key to initiate your
  396. sort option. This will tell HDSCAN to maintain that sort order throughout all
  397. subsequent file reselects...until another sort option is selected.
  398.  
  399. 3.7.2 Comparing files  (Only in the Professional Version)
  400.  
  401. Another important feature in HDSCAN is the ability to quickly compare files.
  402. You can use either the 'c' key or the 'C' key to perform this function. The
  403. 'c' key will use an internal routine to quickly ascertain that the files are
  404. the same or not, while the 'C' key will use C:\bin\diff.prg to perform
  405. a more extensive compare (or whatever command you have used in the HDSCAN.KEY
  406. 'D:' override option. To perform a compare, move the cursor to one of the files
  407. you want to compare and press the 'c' or 'C' key.  When you do so, a C will
  408. appear next to the file name and you will be prompted to go find another file
  409. to compare it against. When you have the scroll bar over the other file, press
  410. c or C again and the two files will be compared. For sanity's sake, my routine
  411. just shows the first 15 differences (byte locations and values) that the program
  412. finds. Note that you can do any number of file searches and directory matches
  413. in between selecting the first and second compare files.
  414.  
  415. 3.8 POWERFUL STuff:
  416.  
  417. 3.8.1 Doing things to a file
  418.  
  419. Because I got tired adding features to the program and it was getting big, I
  420. decided to add one more feature. This is probably the most powerful feature
  421. (and the most confusing) as well. I decided to make the 0-9 keys into
  422. user definable keys. I have mentioned already how to create the HDSCAN.KEY
  423. file, so will only mention here that to use the program you have assigned to
  424. the key, just press the appropriate key. If you forget what the user defined
  425. key assignments are, just press the 'I' key and you will be given a listing of
  426. the keys (along with a summary of disk space). This programmable key option
  427. uses the system() call, so you can even invoke commands that do redirection.
  428.  
  429. Note: I know it is confusing, but I decided to map the Function keys into the
  430. number keys (i.e. key 1=F1, 2=F2, ... , 0=F10) to keep things familiar for
  431. people using both the ST and Unix versions of HDSCAN.
  432.  
  433. 3.8.2 Doing things to all Tagged files
  434.  
  435. Guess what you can also do with Tagged files? If you press the 'G' key after
  436. tagging a bunch of files, you will be prompted to press a command key (0-9).
  437. Yep, you guessed it. You can invoke any command upon all of the files that
  438. you have Tagged, one at a time. You can optionally have HDSCAN pause after
  439. each file is 'processed' in this fashion or just let it run through all the
  440. files.
  441.  
  442. 3.9 FINAL STuff:
  443.  
  444. Now, what have I missed? There are quite a few little options that I rarely
  445. use, but that people requested for some reason or other on the ST.
  446.  
  447. 3.9.1 Renaming files
  448.  
  449. To rename a file, just hit the 'R' key and type in the new name. The file name
  450. you are currently selecting in the file window will be renamed. You will also
  451. be prompted for the files' status fields (i.e. if you want to hide/unhide it,
  452. make it a system file, write-protect the file, etc). Just pressing return in
  453. response to these questions will retain the old values.
  454.  
  455. 3.9.2 Creating directories
  456.  
  457. To create a directory, just press the ~ key. You will be prompted for a
  458. directory name. You can type in the complete path of the directory you want
  459. created (i.e.  C:\trb\PICTURES) or if you are already inside the directory
  460. you want to create the new dir in, just prefix the name of the new directory
  461. with a ~ character (i.e. if you see C:\trb up in the PATH window, just type:
  462.    ~PICTURES
  463. to achieve the same thing as typing C:\trb\PICTURES). This was originally
  464. intended for creating directories on the output media, so creating a directory
  465. will not cause that directory to be visible in the file selector window unless
  466. you do a rescan ('!' key).
  467.  
  468. 3.9.3 Cleaning up the directory order
  469.  
  470. To beautify ('B' key) the order that files are presented, I added an option
  471. that goes through and groups all files into disk order, rather than the RANDOM
  472. order that you will see files in upon running HDSCAN. The RANDOM order is
  473. actually the same tree order the files appear in your tables, so they are
  474. already clustered together within their respective subdirectories. It is just
  475. that as your hard disk gets more fractured due to erasing and moving files
  476. around, your tables will get messier and messier. After you get used to
  477. viewing files via using the match, directory select, and sort options, you
  478. will probably never even bother using the 'B' key.
  479.  
  480. 3.9.6 WARNING!
  481.  
  482. Some words of caution before you continue. First, while copying,
  483. HDSCAN does not check to see if the destination file already exists...it will
  484. just overwrite the destination file. Second, I don't do any bounds checking on
  485. input, so if you feel you must have long directory names that require you to
  486. type in over the scroll window graphics, go ahead. You can't hurt anything
  487. that pressing the ? key twice won't solve. I know that I should really go
  488. in and prevent that from happening, but this program was designed not to be
  489. restrictive and should allow you to use it in ways I haven't planned for yet
  490. (planning for the unplanned?)  Finally, be careful about using the 'e' key.
  491. If you tag some files in one directory, then do a search for some other files
  492. and tag some of them, be aware that the previously Tagged files will also get
  493. erased (unless you un-tagged them of course). Just because you can't see the
  494. file any more in your currently selected subset of the disk does not mean it
  495. isn't Tagged (that will be obvious, actually, if you look at the total Tagged
  496. window). If you are at all unsure, just use the select option to select all
  497. Tagged files prior to deleting them ('s' and then search for '*'). Happy
  498. computing...
  499.  
  500.  
  501. 4.0 SUMMARY OF COMMANDS:
  502.  
  503. Sure, now that I have told you about all the commands I condense everything
  504. into one paragraph:
  505.  
  506. (~) key:   Create a directory  
  507. ! key:     Rescan all directories or just the directory in the PATH: window
  508. # key:     Invoke selected program (i.e. the file under the cursor)
  509. + key:     Add Tagged files to an existing .arc file (or create a new one)
  510. 0-9 keys:  Run external programs (defined in HDSCAN.KEY)
  511. = key:     Verbose Arc listing (peek at the names/sizes of ARC files)
  512. ?/I keys:  HELP (basically this info)/keymap info (i.e. command key bindings) 
  513. TAB key:   Select files by directory (or by subtree)
  514. c/C keys:  Compare/Diff two files. The diff option is user programmable.
  515. d key:     Delete current file (verification will be requested.)
  516. e key:     Erase all Tagged files (verification will be requested.)
  517. G key:     Globally run external programs on all tagged files. 
  518. h/l keys:  Page up/down in the file selection window
  519. H/L keys:  Go to the Top/Bottom of the selected list of files 
  520. k/j keys:  Scroll up/down in the file selection window
  521. m/M keys:  Mass copy all tagged files with new/preserved dates. 
  522. N/P keys:  Move to the next/previous directory and select all files in it
  523. o/O keys:  Order (sort) the selected files (o=just for now, O=Always)
  524. R key:     Change name and/or attributes of file
  525. s/S keys:  Select match on all/Subset
  526. t key:     Tag a file 
  527. ALT u key: Retag all Copied files   
  528. u key:     Untag a file 
  529. ALT u key: Untag all Tagged files    
  530. v key:     View a file/strings-like 
  531. V key:     View a file in HEX/ASCII  
  532.  
  533.  
  534. 5.0 Currently known bugs/limitations:
  535.  
  536.   1) Occasionally a file will show up in a directory on a floppy, but you
  537.      won't be able to access it from within HDSCAN. This is a GEM/TOS bug
  538.      that I haven't gotten around to working out a safe fix for. I kept
  539.      hoping the new TOS would solve the problem. There is a workaround.
  540.      Open up the floppy from the desktop into a window and then run HDSCAN.
  541.   2) You can run some GEM programs from within HDSCAN, but TOS seems to
  542.      get flaky if you do this too much...all I am doing is pexecs, so...
  543.  
  544.  
  545. 6.0 Version 1.4/2.4: What's New
  546.  
  547. This section is for those ST owners out there who already know all about
  548. the old ST version of HDSCAN and thought they could skip over the docs this
  549. time around. I couldn't fold many features back into this version from the
  550. Unix version, simply because they were very Unix specific. The following
  551. features are new for 1.4/2.4:
  552.  
  553.   1) More use of colors to move the eyes to the right spots on the screen. I
  554.      suppose everyone is going to bug me about picking the colors I did, but
  555.      I can always add that as a configurable option in a later release.
  556.   2) I got kind of hooked on the key configuration I set up for the Unix
  557.      version of HDSCAN, so I brought those definitions back into this version.
  558.      In most cases, the old keys you are used to will work, but things like the
  559.      h,j,k and l keys can be used in place of the Arrow key options, for
  560.      example. The only key that actually changed definition was the H)ex dump
  561.      key...it is now V)ex dump :-) and to view a file, you can still press v.
  562.   3) Would you believe Mass command key invokes? If you tag a bunch of files,
  563.      then press the M key you will be prompted for a command key (0-9). Yep,
  564.      you can now perform a user-definable command operation on all the tagged
  565.      files. I have come up with a lot of strange uses for this option.
  566.   4) Parameterized macros attached to the 0-9 keys...
  567.   5) Enhanced directory features. This includes searching while in the
  568.      directory selection mode and the ability to cycle through the directories
  569.      one at a time with the N and P keys while in file selection mode.
  570.  
  571.  
  572. 6.1 Version 1.5/2.5: What's New
  573.  
  574.   1) Mouse control. Now you can use the mouse to move around in your list
  575.      of selected files. Moving the mouse forwards and backwards moves your
  576.      cursor up and down, and moving side to side pages your selection up
  577.      and down. The left button is attached to the view file command, so
  578.      clicking on it will let you view the currently selected file. The
  579.      right button is assigned to the directory selection command, so clicking
  580.      it is the same as hitting the TAB key. If you are in a view file mode,
  581.      pressing the left button will page you ahead and pressing the right
  582.      button will return you to the main file selection window. If you are in
  583.      the directory selection mode, moving the mouse forwards and backwards
  584.      will scroll you through the directories, pressing the left button will
  585.      select just the files in a directory, and pressing the right button will
  586.      select the whole tree below the directory. You can turn the mouse mode
  587.      off by including the line -    M:No    in your HDSCAN.KEY file.
  588.   2) Minor screen cleanup.
  589.  
  590.  
  591. 6.2 Version 1.6/2.6: What's New
  592.  
  593.   1) Popup help. Press help and see for yourself.
  594.   2) More capable program execution (gave you back the mouse for GEM progs).
  595.   3) Sort by name for the Shareware version.
  596.  
  597. 7.0 FINALLY, THE END IS NEAR:
  598.   
  599. Again, have fun with the program. It is meant to be a utility that is used
  600. from time to time. It was never intended to be used as a shell as so many
  601. people seem to like to use similar tools on the PC for. Someday, maybe, but
  602. it has a long way to go first. I should also remind everyone again that this
  603. is NOT a public domain program. I am distributing it Shareware. What this
  604. means is that you can use the program to your heart's content, modify it as
  605. much as you want for your own PERSONAL use, but when you pass it on to other
  606. people (friends, enemies, whatever), it must be passed on in it's original,
  607. unmodified state. This applies to the documentation as well as the binary
  608. executables.  If there really is a change you feel that the world must
  609. have, send me a note and I will try to integrate it into a future version.
  610. Of course, Shareware also means that if you like the program, really use it,
  611. and want to help fund further development, please don't be shy. I am asking
  612. for a Shareware contribution of $10, or if you want to order the production
  613. version, just send in $20 (U.S. dollars). If you don't think it is worth that,
  614. even a letter is appreciated if you find the program useful (or if it would be
  615. useful if it had a certain feature, for that matter).  The update policy for
  616. those of you who already purchased earlier versions is $6 (just enough to
  617. cover the disk, postage, packaging, and bribing my wife to swing by the post
  618. office on the way to work).
  619.  
  620.        Todd Burkey
  621.        3546 Pilgrim Ln
  622.        Plymouth, MN 55441
  623.        USA
  624.  
  625.        trb@stag.UUCP
  626.        or ..ihnp4!meccts!stag!trb
  627.  
  628. 2/1/1987   -  HDSCAN ver 1.0 (Shareware) and 2.0 (professional)
  629. 5/15/1987  -  HDSCAN ver 1.3 (Shareware) and 2.3 (professional)
  630. 12/25/1987 -  HDSCAN ver 3.0 (Unix Shareware)
  631. 2/15/1988  -  HDSCAN ver 1.4 (Shareware) and 2.4 (professional)
  632. 4/15/1988  -  HDSCAN ver 1.5 (Shareware) and 2.5 (professional)
  633. 7/9/1988   -  HDSCAN ver 1.6 (Shareware) and 2.6 (professional)
  634.